<style tyle="text/css">
    .modal-lg {
      width: 70%;
    }
</style>
<div class="modal-header">
  <h4 class="modal-title">分销商审核</h4>
</div>
<div class="modal-body">

  <table class="table table-striped table-bordered">
    <thead>
      <tr>
        <th class="col-md-2 text-center">分销商名称</th>
        <th class="col-md-2 text-center">分销商编号</th>
        <th class="col-md-2 text-center">申请时间</th>
        <th class="col-md-2 text-center">申请账号</th>
        <th class="col-md-2 text-center"></th>
      </tr>
    </thead>
    <tbody>
      <tr ng-show="downCompanyList.length != 0" ng-repeat="info in downCompanyList">
        <td>{{info.down_company_name}}</td>
        <td class="text-center">{{info.down_company_code}}</td>
        <td class="text-center">{{info.create_time}}</td>
        <td class="text-center">{{info.create_by}}</td>
        <td class="text-center">
          <button type="button" class="btn btn-success btn-xs" ng-click="update(info, '1', $index)">通过</button>
          <button type="button" class="btn btn-danger btn-xs" ng-click="update(info, '0', $index)">驳回</button>
        </td>
      </tr>
      <tr ng-show="downCompanyList.length == 0">
        <td colspan="5" class="text-center">无待审核分销商</td>
      </tr>
    </tbody>
  </table>
  <div class="text-right">
    <pagination total-items="totalItems" ng-model="currentPage" ng-change="getDate(currentPage)" previous-text="上一页"
     next-text="下一页" first-text="首页" last-text="尾页" max-size="5" boundary-links="true" rotate="false"
     items-per-page="itemsPerPage" style="margin: 0px 0px"></pagination>
  </div>
    
</div>
<div class="modal-footer">
  <button class="btn btn-danger" type="button" ng-click="cancel()">关闭</button>
</div>